package com.sskj.aikeeper.bean;

import com.sskj.aikeeper.R;

import sskj.lee.appupdatelibrary.BaseVersion;

class AppVersionBean extends BaseVersion {

    private String addr;
    private String title;
    private String content;
    private String version;
    private int uptype;

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    @Override
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getUptype() {
        return uptype;
    }

    public void setUptype(int uptype) {
        this.uptype = uptype;
    }

    @Override
    public String getUrl() {
        return addr;
    }

    @Override
    public boolean isMustUp() {
        return uptype == 1;
    }

    public String getVersionCode() {
        return version;
    }


    @Override
    public void setViewStyle(int viewStyle) {
        view_style = viewStyle;
    }

    @Override
    public int getNotifyIcon() {
        return R.mipmap.app_logo;
    }

    @Override
    public int getViewStyle() {
        return view_style;
    }
}
